/* stylelint-disable */
.mySlider {
    padding: 4px 12px;
    padding-right: 16px;

    :global {
        .adm-slider-track-container {
            position: relative;
            padding: 8px 0;

            &::before {
                position: absolute;
                left: -10px;
                display: block;
                box-sizing: border-box;
                width: 10px;
                height: 14px;
                background: #4e95f2;
                // border: 2px solid #000000;
                border-right: 0;
                border-radius: 2px;
                // box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.2), inset 0px -4px 0px 0px #4E95F2;
                content: '';
            }

            &::after {
                position: absolute;
                top: 8px;
                right: -13px;
                display: block;
                box-sizing: border-box;
                width: 14px;
                height: 14px;
                background: #b5d4ff;
                // border: 2px solid #000000;
                border-left: 0;
                border-radius: 2px;
                border-top-left-radius: 0px;
                border-bottom-left-radius: 0px;
                // box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.2), inset 0px -4px 0px 0px #B5D4FF;
                content: '';
            }
        }

        .adm-slider-thumb-container {
            height: auto;
        }

        .adm-slider-thumb {
            position: relative;
            width: 26px;
            height: 26px;
            background: #ffffff;
            border: 2px solid #4e95f2;
            border-radius: 28px;
            // border: 2px solid #0f0600;
            // border-radius: 4px;
            // box-shadow: 0px 3px 0px 0px rgba(0, 0, 0, 0.3), inset 0px -4px 0px 0px #a6987c;

            svg {
                display: none;
            }
        }

        .adm-slider-track {
            box-sizing: border-box;
            height: 14px;
            background: #b5d4ff;
            // border-radius: 2px;
            // border: 2px solid #000000;
            border-right: 0;
            border-left: 0;
            // box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.2), inset 0px -4px 0px 0px #B5D4FF;
        }

        .adm-slider-fill {
            height: 100%;
            background: #4e95f2;
            // box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.2), inset 0px -4px 0px 0px #4E95F2;
            // border-radius: 2px;
            // border: 2px solid #000000;
            // box-sizing: border-box;
        }
    }
}

.marks {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
    color: #4e95f2;
    font-weight: 500;
    font-size: 16px;
    font-family: AlibabaPuHuiTi-Medium, AlibabaPuHuiTi;
    line-height: 22px;
}

.popup {
    position: absolute;
    bottom: -32px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    font-family: AlibabaPuHuiTi-Medium, AlibabaPuHuiTi;
    line-height: 22px;
    transform: translateX(-50%);

    .select_val {
        position: relative;
        min-width: 20px;
        padding: 0 4px;
        color: #0f0600;
        font-weight: 500;
        font-size: 16px;
        font-family: AlibabaPuHuiTi-Medium, AlibabaPuHuiTi;
        line-height: 22px;
        text-align: center;
        background: #ffac0f;
        // border: 2px solid #0f0600;
        border-radius: 5px;
        // box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.2), inset 0px -3px 0px 0px #bc6407;

        .value_text {
            position: relative;
            z-index: 10;
            display: block;
            height: 100%;
            color: #fff;
            font-weight: 500;
            font-size: 16px;
            font-family: AlibabaPuHuiTi-Medium, AlibabaPuHuiTi;
            line-height: 22px;
            background: #ffac0f;
            // background: linear-gradient(
            //     180deg,
            //     #fcc91d 0%,
            //     #fcc91d calc(100% - 3px),
            //     #bc6407 calc(100% - 3px),
            //     #bc6407 100%
            // );
            // box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.2), inset 0px -3px 0px 0px #BC6407;
        }

        &::before {
            position: absolute;
            top: -4px;
            left: 44%;
            z-index: 5;
            display: block;
            width: 7px;
            height: 7px;
            background: #ffac0f;
            // border: 2px solid #0f0600;
            border-right: 0;
            border-bottom: 0;
            transform: translateX(calc(2.5px * 0.84 - 50%)) rotate(45deg);
            content: '';
        }
    }
}
